//
//  chathandle.h
//  Final
//
//  Created by lanou3g on 15/12/4.
//  Copyright © 2015年 皮比诺. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVOSCloudIM.h>


@interface chathandle : NSObject<AVIMClientDelegate>
@property(nonatomic, strong)NSArray *toclientIds;
@property(nonatomic, strong)NSString *fromlientId;
@property(nonatomic,strong)AVIMClient *client;
//cleintId
@property(nonatomic, strong)NSString *clientId;


+(chathandle *)sharehanle;

//聊天发送消息
-(void)sendMessaWithClientId:(NSString *)mylientId toFriends:(NSArray *)toclients withText:(NSString *)content name:(NSString *)name;

//聊天接受消息
-(void)receiveMessage;
//对话查询
- (void)queryConversationBymebers:(AVIMClient *)fromlient;


@end
